---
title: clsCaseSearchManager.GetSearchResults
summary: Run case search with conflict and exposure filters derived from user entitlements.
status: draft
owner: SAIF Documentation Generator
last_reviewed: 2026-08-21
library: SAIF.Application.Claim.Legal
reference_type: embedded
operation_id: get-case-search-results
trigger: Case-search screen submits criteria.
---

# clsCaseSearchManager.GetSearchResults

Run case search with conflict and exposure filters derived from user entitlements.

| Field | Value |
| --- | --- |
| **Operation ID** | get-case-search-results |
| **Trigger** | Case-search screen submits criteria. |
| **Inputs** | Current manager state, current claim/case context, and workflow-specific parameters or collections. |
| **Outputs** | Updated collections, messages, or side effects specific to the operation. |
| **Primary components** | `clsCaseSearchManager.GetSearchResults` |
| **Entry point** | `SAIF.Application.Claim.Legal\LegalNet\clsCaseSearchManager.vb` |

## Steps

1. Initialize search-security variables from `ClaimSecurity` and the manager AD-resource flags.
2. Set `ExposureCode = 99` only when the caller has exposure access, admin access, or legal exposure access.
3. Set `ConflictAccess = True` only when the caller is in the admin group or has legal conflict access.
4. Execute the downstream search and retain the result set on the manager for rendering and reporting.

## Process flow

The following diagram visualizes this operation's control flow.

```mermaid
flowchart TD
  Start([Trigger]) --> S1[Load current state]
  S1 --> S2[Apply workflow rules]
  S2 --> D{"Validation or security<br>issue?"}
  D -->|Yes| EndErr(["Return message or block<br>action"])
  D -->|No| EndOk(["Return updated workflow<br>state"])
```

## Failure and edge-case behavior
- Unauthorized search widening is prevented by leaving conflict/exposure parameters at their stricter defaults.

## Related documentation
- [Index](../index.md)
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [Security and authorization](../security-authorization.md)
- [Database tables](../database-tables.md)
- [SQL catalog](../sql/index.md)
- [Procedures](../procedures/index.md)
- [API reference](../api/index.md)

## Sources
- SAIF.Application.Claim.Legal\LegalNet\clsCaseSearchManager.vb
